﻿CREATE TABLE [dbo].[OrderExpressInfo] (
    [OrderExpressID] UNIQUEIDENTIFIER NOT NULL,
    [ExpressID]      INT              NULL,
    [ExpressName]    NVARCHAR (30)    NULL,
    [ExpressNum]     VARCHAR (32)     NULL,
    [UserID]         BIGINT           NOT NULL,
    CONSTRAINT [PK_ORDEREXPRESSINFO] PRIMARY KEY CLUSTERED ([OrderExpressID] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'用户标识', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'OrderExpressInfo', @level2type = N'COLUMN', @level2name = N'UserID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'快递单号', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'OrderExpressInfo', @level2type = N'COLUMN', @level2name = N'ExpressNum';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'快递公司名称', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'OrderExpressInfo', @level2type = N'COLUMN', @level2name = N'ExpressName';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'快递公司标识。来自字典表', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'OrderExpressInfo', @level2type = N'COLUMN', @level2name = N'ExpressID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'订单快递标识', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'OrderExpressInfo', @level2type = N'COLUMN', @level2name = N'OrderExpressID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'订单快递信息', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'OrderExpressInfo';

